package cn.z2huo.demo.hello.kafka.model;

import lombok.Data;
import org.apache.kafka.common.TopicPartition;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 *
 * @author z2huo
 */
@Data
public class KafkaOffset implements Serializable {

    @Serial
    private static final long serialVersionUID = -3996434530661656876L;

    private String consumerName;

    private String groupId;

    private Long offset;

    private TopicPartition topicPartition;

}
